//
//  YKDataHeaderView.h
//  YunKang
//
//  Created by leoking870 on 2017/10/5.
//  Copyright © 2017年 leoking870. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum : NSUInteger {
    YKDataHeaderViewTypeYearMonth,
    YKDataHeaderViewTypeYearMonthDay,
} YKDataHeaderViewType;

@interface YKDataHeaderView : UIView



@property (nonatomic, copy) void(^dateChangeBlock)(NSString *start, NSString *end);
@property (nonatomic, strong, readonly)NSString *start;
@property (nonatomic, strong, readonly)NSString *end;
@property (nonatomic, assign) YKDataHeaderViewType type;

- (instancetype)initWithType:(YKDataHeaderViewType)type;
- (instancetype)init;

@end
